package com.xin.di.uav.user.entity;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author LTQ
 * @since 2023-04-03
 */
@Data
@ApiModel(value = "User对象", description = "用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("创建时间")
    private Date createdAt;

    @ApiModelProperty("更新时间")
    private Date updatedAt;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("区号")
    private String countryCode;

    @ApiModelProperty("用户状态 1.正常 2.异常 3.冻结 4.注销 5.封禁")
    private Integer status;

    @ApiModelProperty("平台：1（丰翼配送）")
    private Integer platformCode;
    @ApiModelProperty("展示名")
    private String displayName;

    private String role;
}
